﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
   public class ColumnModel
   {
       /// <summary>
       /// 列名
       /// </summary>
       public string  ColumnName { get; set; }
       /// <summary>
       /// 列名的别名,权限规则从列名生成
       /// </summary>
       public string ColumnNameAlias { get; set; }
       /// <summary>
       /// 数据类型
       /// </summary>
       public string ColumnType { get; set; }
       /// <summary>
       /// 字段备注
       /// </summary>
       public string ColumnMemo { get; set; }
       /// <summary>
       /// 支持的最大字符
       /// </summary>
       public int ColumnMaxLen { get; set; }
       /// <summary>
       /// 是否为主键
       /// </summary>
       public bool IsPrimary { get; set; }
   }
}
